<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>编辑价格</h2>
    </div>
    <form action="{:U(Shop/priceupdate)}" method="post" class="form-horizontal">
        <div class="form-item">
                <label class="item-label">
                    市场价格
                </label>
                <div class="controls">
                   
                    <input type="text" class="text input-large " id="mprice" value="{$res.mprice}" placeholder="市场价格" name="mprice">
                </div>
                <label class="item-label">
                    商城价格
                </label>
                <div class="controls">
                    <input type="text" class="text input-large " id="sprice" value="{$res.sprice}" placeholder="商城价格" name="sprice">
                </div>
                <label class="item-label">
                    库存量
                </label>
                <div class="controls">
                    <input type="text" class="text input-large " id="num" value="{$res.num}" placeholder="库存量" name="num">
                    <input type="hidden" name="id" value="{$res.id}">
                </div>
            </div>
           
        <div class="form-item">
            <button class="btn submit-btn " id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Attr/index')}');
    </script>
</block>
